            <div class="col-md-9" style="border: 1px solid #eee; min-height: 400px;">
                <table class="table table-striped">
                    <tr>
                        <th style="text-align:center">User</th>
                        <th style="text-align:center">Aksi</th>
                    </tr>
                    <?php
                    $counter = 0;
                    foreach ($list_user as $user) {
                        $counter++;
                        ?>
                        <tr>
                            <td><?= $user->pengguna_nama_display; ?></td>
                            <td><a class="btn btn-default" href="<?= site_url() . '/admin/edit_user?id=' . $user->pengguna_id ?>">Edit</a> <a class="btn btn-warning" href="<?= site_url() . '/admin/hapus_user?id=' . $user->pengguna_id ?>" onclick="return confirm('Apakah Anda yakin akan menghapus user?')">Hapus</a></td>
                        </tr>
                        <?php
                    }
                    if($counter==0){
                        ?>
                        <tr>
                            <td colspan="2" style="text-align:center">Tidak Ada data</td>
                        </tr>
                        <?php
                    }
                    ?>
                </table>
                <div style="margin-top: 50px">
                    <a href="<?=site_url()?>/admin/buat_user" class="btn btn-info">Tambah User</a>
                </div>
            </div>  
        </div>
    </div> 
</section>